﻿
using Fozzy.Object;
using System.Xml;
using System.Linq;
using System.Collections.Generic;
using System.Xml.Linq;

namespace Fozzy.Gedcom
{
    internal static class Module
    {
        internal static string Value(this _Element node)                     { return node != null ? AValue(node).Replace('@', ' ').Trim(): string.Empty ; }
        internal static string AValue(this _Element node)                    { return new Fozzy.Object.XNode(node).Attribute(property.Value).Value.ToString()     ; }

        internal const string               Root                            = "root"                                                        ;
        //internal const string               Cont                            = "CONT"                                                        ;
        //internal const string               Conc                            = "CONC"                                                        ;

        internal static Integer             Compteur                        = new Integer()                                                 ;
    }
}
